﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using Scrum.Net.Classes;
using Scrum.Net.Interfaces;

namespace Scrum.NetTests
{
    [TestClass]
    public class StoryTest
    {
        private const string Name = "Story 1";
        private readonly IProductStory _productStory;

        public StoryTest()
        {
            _productStory = new ProductStory(Name);
        }

        [TestMethod]
        public void StoryConstructor()
        {
            Assert.AreEqual(_productStory.Name, Name);
            Assert.AreNotEqual(_productStory.Tasks, null);
        }
    }
}
